/// @description Insert description here
// You can write your code in this editor

kd--
if instance_exists(o_Hero){


//dir =  lerp(dir,point_direction(x,y,anomal.x,anomal.y),0.1)
//dir +=  point_direction(x,y,anomal.x,anomal.y)- dir/100
//dir +=  abs(point_direction(x,y,anomal.x,anomal.y)- dir/10)
dir +=   angle_difference(point_direction(x,y,anomal.x,anomal.y),dir)*0.1
//dir += 1
image_angle = dir

//if  point_direction(x,y,anomal.x,anomal.y)- dir> 0 
//{
//	dir += 1
//} else {dir -=1}
}









